package com.jxl.apple.components
{
	import com.bit101.components.Label;
	
	import flash.display.DisplayObjectContainer;
	import flash.text.TextFormat;
	
	public class HeaderLabel extends Label
	{
		public function HeaderLabel(parent:DisplayObjectContainer=null, xpos:Number=0, ypos:Number=0, text:String="")
		{
			super(parent, xpos, ypos, text);
		}
		
		protected override function addChildren():void
		{
			super.addChildren();
			
			var tf:TextFormat = textField.defaultTextFormat;
			textField.embedFonts = false;
			tf.font = "Arial";
			tf.size = 20;
			tf.bold = true;
			tf.color = 0xFFFFFF;
			textField.defaultTextFormat = tf;
		}
	}
}